﻿#region

using System;
using HouseHoldBudget.Framework.Mvc;
using HouseHoldBudget.Models.Expenses;
using System.ComponentModel.DataAnnotations;

#endregion

namespace HouseHoldBudget.Models.Budgets
{
    public class BudgetCategoryExpenseTypesModel : MvcEntityModelBase
    {

        public BudgetCategoryExpenseTypesModel()
        {
            BudgetCategory = new BudgetCategoryModel();
        }

        #region Instance Properties

        /// <summary>
        /// Gets or sets the budget id.
        /// </summary>
        /// <value>
        /// The budget id.
        /// </value>
        public Guid BudgetId { get; set; }

        /// <summary>
        /// Gets or sets the budget category id.
        /// </summary>
        /// <value>
        /// The budget category id.
        /// </value>
        public Guid OriginalBudgetCategoryId { get; set; }

        /// <summary>
        /// Gets or sets the budget category.
        /// </summary>
        /// <value>
        /// The budget category.
        /// </value>
        [UIHint("CategoryList")]
        public BudgetCategoryModel BudgetCategory { get; set; }

        /// <summary>
        /// Gets or sets the name of the expense type.
        /// </summary>
        /// <value>
        /// The name of the expense type.
        /// </value>
        public Guid ExpenseTypeId { get; set; }

        /// <summary>
        /// Gets or sets the name of the expense type.
        /// </summary>
        /// <value>
        /// The name of the expense type.
        /// </value>
        public string ExpenseTypeName { get; set; }

        #endregion
    }
}